package com.sjf.Demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author <huangtang>
 * @since 2022/4/28 17:23
 **/

@RestController
@RequestMapping("/demo")
public class DemoController {

    @RequestMapping("/hello")
    public String hello () {
        System.out.println ("hello,linux,World!!");
        return "hello,linux,World!!";
    }
}
